<template>
  <div class="dashboard-container">
    <div class="dashboard-editor-container">
      <!--<yshop-info />-->
      <panel-group />
      <!-- <panel-group-t /> -->
    

      <i class="el-icon-s-operation" style="color:cadetblue;" /><span>数据统计</span>
      <el-divider></el-divider>
     
      <el-row :gutter="32">
        <el-col :xs="16" :sm="16" :lg="8">
          <order-count></order-count>
        </el-col>
        <el-col :xs="16" :sm="16" :lg="8">
        <div class="chart-wrapper">
          <p>用户转化趋势图</p>
          <bar-chart />
        </div>
        </el-col>
        <el-col :xs="16" :sm="16" :lg="8">
        <div class="chart-wrapper">
          <p>用户曝光点击趋势图</p>
          <bar-chart-t />
        </div>
        </el-col>
      </el-row>       

    </div>
  </div>
</template>

<script>
import PanelGroup from './dashboard/PanelGroup'
import PanelGroupT from './dashboard/PanelGroupT'
import OrderCount from './dashboard/OrderCount'
import BarChart from './dashboard/BarChart'
import BarChartT from './dashboard/BarChartT'
export default {
  name: 'Dashboard',
  components: {
    PanelGroup,
    PanelGroupT,
    OrderCount,
    BarChart,
    BarChartT
    // PieChart,
    // BarChart,
    // YshopInfo,
    // OrderCount
  },
  computed: {
   
  }
}
</script>

<style rel="stylesheet/scss" lang="scss" scoped>
  .dashboard-editor-container {
    padding: 18px 22px 22px 22px;
    background-color: rgb(240, 242, 245);

    .chart-wrapper {
      background: #fff;
      padding: 16px 16px 0;
      margin-bottom: 32px;
    }
  }
</style>
